<?php 
include'header.php';
include'menu.php';
include("connection/connection.php");

$srno=$_GET['srno'];
$sql="select * from tbl_dtls_compose where id='$srno'";
$query= mysql_query($sql);
$data=mysql_fetch_array($query);
?>
<table border="0" width="68%" id="table21" height="74" cellspacing="1">
				         <tr bgcolor="#FF9966" height="29">
				            <td bgcolor="#FF9966" align="left" valign="top">&nbsp;</td>
								  <td bgcolor="#FF9966" align="left" valign="top">&nbsp;</td>
								  <td bgcolor="#FF9966" align="left" valign="top" colspan="5">&nbsp;</td>
				    </tr>
				          <tr>
				            <td bgcolor="#E5E5E5" align="left" valign="top" width="1%">&nbsp;</td>
								  <td bgcolor="#E5E5E5" align="left" valign="top" width="5%">
							      <img border="0" src="images/my_pag2.jpg"></td>
								  <td bgcolor="#E5E5E5" align="left" colspan="5">&nbsp;
							      <span lang="en-us"><font color="#003333">Go back to <a href="outbox.php" style="text-decoration:none">Outbox</a></font></span></td>
						  </tr>
				          <tr>
				            <td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
								  <td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
								  <td width="17%" align="left" valign="top" bgcolor="#E5E5E5">&nbsp;</td>
								  <td width="12%" align="left" valign="top" bgcolor="#E5E5E5">&nbsp;</td>
								  <td bgcolor="#E5E5E5" align="left" valign="top" width="9%">
						    <p align="right"></td>
								  <td bgcolor="#E5E5E5" align="left" valign="top" width="40%">
								    <p align="right">
								      <font color="#000000" face="Verdana">
				            <span style="font-size: 8.5pt">&nbsp;</span></font></td>
								  <td bgcolor="#E5E5E5" align="left" valign="top" width="16%">&nbsp;</td>
						  </tr>
				          <tr>
				            <td bgcolor="#E5E5E5" align="left" valign="top" colspan="7">
				              <span style="font-size: 3pt" lang="en-us">&nbsp;</span></td>
				    </tr>
				          <tr>
				            <td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
								  <td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
								  <td bgcolor="#E5E5E5" align="left" valign="top" colspan="5" bordercolor="#F2F2F2">
								  <?php
		 $sql_file="select * from tbl_dtls_compose where id='$id'";
		$rs_file=mysql_query($sql_file);
		 $row_file=mysql_fetch_array($rs_file);
				?>
								    <table border="0" width="100%" id="table22" bordercolor="#FFFFFF" cellspacing="0">
								      <tr>
								        <td width="34%"><b>
								          <font color="#000000" face="Verdana">
							              <span style="font-size: 8.5pt">						              </span></font><span lang="en-us">
						                  <font face="Verdana" style="font-size: 8.5pt" color="#000000">
					                     Receiver&nbsp;:&nbsp;<?php echo $data[receiver];?></font></span></b></td>
									    <td width="38%">&nbsp;</td>
									    <td width="26%">
									      <font color="#000000" face="Verdana">
									      <span style="font-size: 8.5pt; font-weight: 700">
							            <?php echo $row_file['post_time'];?><span lang="en-us"></span></span></font></td>
									  </tr>
								      <tr>
								        <td colspan="3" bgcolor="#F2F2F2">
							            <span style="font-size: 2pt" lang="en-us">&nbsp;</span></td>
									  </tr>
								      <tr>
								        <td colspan="3">
								          
									    </td>
									  </tr>
								      <tr>
								        <td colspan="3"><font face="Verdana" style="font-size: 8.5pt" color="#000000">
                                        <?php echo $data[message];?>
                                        </font></td>
									  </tr>
									  <tr>
								        <td colspan="3">&nbsp;</td>
									  </tr>
									  <tr>
								        <td colspan="3" align="right">
										&nbsp;&nbsp;</td>
									  </tr>
								      <tr>
								        <td colspan="3">&nbsp;
										</td>
									  </tr>
							        </table>								  </td>
				    </tr>
				          <tr>
				            <td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
								  <td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
								  <td bgcolor="#E5E5E5" align="left" valign="top" colspan="5"><a href="../../shimla/user/compose.php" style="text-decoration:none">
								          <font style="font-size: 8.5pt" color="#000000" face="Verdana">
						                  </font></a><font style="font-size: 8.5pt">&nbsp;&nbsp;</font></td>
						  </tr>
</table>

